package pojo;

import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @author jesse
 * @Date 2019/5/23 15:23
 * @Version 1.0
 */
@Data
@NoArgsConstructor
public class SysM {


    private String id;
    @NotNull(message = "用户名不能为空")
    private String username;

    @NotNull(message = "密码不能为空")
    private String password;

    @NotNull(message = "姓名不能为空")
    private String name;

    @NotNull(message = "级别不能为空")
    private String manager;


    private String img;

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }
}
